
import { ref } from 'vue';
import Mock from 'mockjs';
export default {
  setup() {
    const productList = ref([]);
    const generateProductList = () => {
      const products = Mock.mock({
        'list|45-85':46,
         'list1|50-100':50,
        'list2|100-150':150,
        'list3|150-200':200,
          
        
      });
      productList.value = products.list;
    };
    generateProductList();
    return {
      productList
    };
  }
};